@extends('frontend.layout.base')

@section('body')
    <div class="container">
        <h3 class="page-header">登录</h3>
        <div class="col-md-6 col-md-offset-3">
            <div class="panel panel-default">
                <div class="panel-body">
                    <form role="form" method="POST" action="/auth/login">
                        {!! csrf_field() !!}
                        <div class="form-group">
                            <label>邮箱</label>
                            <input class="form-control" type="email" name="email" value="{{ old('email') }}">
                        </div>

                        <div class="form-group">
                            <label>密码</label>
                            <input class="form-control" type="password" name="password" id="password">
                        </div>

                        <div class="form-group">
                            <input type="checkbox" name="remember"> 记住登录
                        </div>

                        <div class="form-group">
                            <button class="form-control btn btn-primary" type="submit">Login</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
@stop